# This Python file uses the following encoding: utf-8
#############################################################################
##
## Copyright (C) 2020 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/
##
## This file is part of Qt for Python.
##
## $QT_BEGIN_LICENSE:LGPL$
## Commercial License Usage
## Licensees holding valid commercial Qt licenses may use this file in
## accordance with the commercial license agreement provided with the
## Software or, alternatively, in accordance with the terms contained in
## a written agreement between you and The Qt Company. For licensing terms
## and conditions see https://www.qt.io/terms-conditions. For further
## information use the contact form at https://www.qt.io/contact-us.
##
## GNU Lesser General Public License Usage
## Alternatively, this file may be used under the terms of the GNU Lesser
## General Public License version 3 as published by the Free Software
## Foundation and appearing in the file LICENSE.LGPL3 included in the
## packaging of this file. Please review the following information to
## ensure the GNU Lesser General Public License version 3 requirements
## will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
##
## GNU General Public License Usage
## Alternatively, this file may be used under the terms of the GNU
## General Public License version 2.0 or (at your option) the GNU General
## Public license version 3 or any later version approved by the KDE Free
## Qt Foundation. The licenses are as published by the Free Software
## Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
## included in the packaging of this file. Please review the following
## information to ensure the GNU General Public License requirements will
## be met: https://www.gnu.org/licenses/gpl-2.0.html and
## https://www.gnu.org/licenses/gpl-3.0.html.
##
## $QT_END_LICENSE$
##
#############################################################################

"""
This file contains the exact signatures for all functions in module
Qt.QtXmlPatterns, except for defaults which are replaced by "...".
"""

# Module Qt.QtXmlPatterns
import Qt
try:
    import typing
except ImportError:
    from Qt.support.signature import typing
from Qt.support.signature.mapping import (
    Virtual, Missing, Invalid, Default, Instance)

class Object(object): pass

import shiboken2 as Shiboken
Shiboken.Object = Object

import Qt.QtCore
import Qt.QtXmlPatterns


class QAbstractMessageHandler(Qt.QtCore.QObject):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def handleMessage(self, type:Qt.QtCore.QtMsgType, description:str, identifier:Qt.QtCore.QUrl, sourceLocation:Qt.QtXmlPatterns.QSourceLocation): ...
    def message(self, type:Qt.QtCore.QtMsgType, description:str, identifier:Qt.QtCore.QUrl=..., sourceLocation:Qt.QtXmlPatterns.QSourceLocation=...): ...


class QAbstractUriResolver(Qt.QtCore.QObject):

    def __init__(self, parent:typing.Optional[Qt.QtCore.QObject]=...): ...

    def resolve(self, relative:Qt.QtCore.QUrl, baseURI:Qt.QtCore.QUrl) -> Qt.QtCore.QUrl: ...


class QAbstractXmlNodeModel(Shiboken.Object):
    Parent                   : QAbstractXmlNodeModel = ... # 0x0
    FirstChild               : QAbstractXmlNodeModel = ... # 0x1
    InheritNamespaces        : QAbstractXmlNodeModel = ... # 0x1
    PreserveNamespaces       : QAbstractXmlNodeModel = ... # 0x2
    PreviousSibling          : QAbstractXmlNodeModel = ... # 0x2
    NextSibling              : QAbstractXmlNodeModel = ... # 0x3

    class NodeCopySetting(object):
        InheritNamespaces        : QAbstractXmlNodeModel.NodeCopySetting = ... # 0x1
        PreserveNamespaces       : QAbstractXmlNodeModel.NodeCopySetting = ... # 0x2

    class SimpleAxis(object):
        Parent                   : QAbstractXmlNodeModel.SimpleAxis = ... # 0x0
        FirstChild               : QAbstractXmlNodeModel.SimpleAxis = ... # 0x1
        PreviousSibling          : QAbstractXmlNodeModel.SimpleAxis = ... # 0x2
        NextSibling              : QAbstractXmlNodeModel.SimpleAxis = ... # 0x3

    def __init__(self): ...

    def attributes(self, element:Qt.QtXmlPatterns.QXmlNodeModelIndex) -> typing.List: ...
    def baseUri(self, ni:Qt.QtXmlPatterns.QXmlNodeModelIndex) -> Qt.QtCore.QUrl: ...
    def compareOrder(self, ni1:Qt.QtXmlPatterns.QXmlNodeModelIndex, ni2:Qt.QtXmlPatterns.QXmlNodeModelIndex) -> Qt.QtXmlPatterns.QXmlNodeModelIndex.DocumentOrder: ...
    @typing.overload
    def createIndex(self, data:int) -> Qt.QtXmlPatterns.QXmlNodeModelIndex: ...
    @typing.overload
    def createIndex(self, data:int, additionalData:int) -> Qt.QtXmlPatterns.QXmlNodeModelIndex: ...
    @typing.overload
    def createIndex(self, pointer:int, additionalData:int=...) -> Qt.QtXmlPatterns.QXmlNodeModelIndex: ...
    def documentUri(self, ni:Qt.QtXmlPatterns.QXmlNodeModelIndex) -> Qt.QtCore.QUrl: ...
    def elementById(self, NCName:Qt.QtXmlPatterns.QXmlName) -> Qt.QtXmlPatterns.QXmlNodeModelIndex: ...
    def isDeepEqual(self, ni1:Qt.QtXmlPatterns.QXmlNodeModelIndex, ni2:Qt.QtXmlPatterns.QXmlNodeModelIndex) -> bool: ...
    def kind(self, ni:Qt.QtXmlPatterns.QXmlNodeModelIndex) -> Qt.QtXmlPatterns.QXmlNodeModelIndex.NodeKind: ...
    def name(self, ni:Qt.QtXmlPatterns.QXmlNodeModelIndex) -> Qt.QtXmlPatterns.QXmlName: ...
    def namespaceBindings(self, n:Qt.QtXmlPatterns.QXmlNodeModelIndex) -> typing.List: ...
    def namespaceForPrefix(self, ni:Qt.QtXmlPatterns.QXmlNodeModelIndex, prefix:Missing("Qt.QtXmlPatterns.QXmlName.PrefixCode")) -> Missing("Qt.QtXmlPatterns.QXmlName.NamespaceCode"): ...
    def nextFromSimpleAxis(self, axis:Qt.QtXmlPatterns.QAbstractXmlNodeModel.SimpleAxis, origin:Qt.QtXmlPatterns.QXmlNodeModelIndex) -> Qt.QtXmlPatterns.QXmlNodeModelIndex: ...
    def nodesByIdref(self, NCName:Qt.QtXmlPatterns.QXmlName) -> typing.List: ...
    def root(self, n:Qt.QtXmlPatterns.QXmlNodeModelIndex) -> Qt.QtXmlPatterns.QXmlNodeModelIndex: ...
    def sendNamespaces(self, n:Qt.QtXmlPatterns.QXmlNodeModelIndex, receiver:Qt.QtXmlPatterns.QAbstractXmlReceiver): ...
    def sourceLocation(self, index:Qt.QtXmlPatterns.QXmlNodeModelIndex) -> Qt.QtXmlPatterns.QSourceLocation: ...
    def stringValue(self, n:Qt.QtXmlPatterns.QXmlNodeModelIndex) -> str: ...
    def typedValue(self, n:Qt.QtXmlPatterns.QXmlNodeModelIndex) -> typing.Any: ...


class QAbstractXmlReceiver(Shiboken.Object):

    def __init__(self): ...

    def atomicValue(self, value:typing.Any): ...
    def attribute(self, name:Qt.QtXmlPatterns.QXmlName, value:str): ...
    def characters(self, value:str): ...
    def comment(self, value:str): ...
    def endDocument(self): ...
    def endElement(self): ...
    def endOfSequence(self): ...
    def namespaceBinding(self, name:Qt.QtXmlPatterns.QXmlName): ...
    def processingInstruction(self, target:Qt.QtXmlPatterns.QXmlName, value:str): ...
    def startDocument(self): ...
    def startElement(self, name:Qt.QtXmlPatterns.QXmlName): ...
    def startOfSequence(self): ...
    def whitespaceOnly(self, value:str): ...


class QSourceLocation(Shiboken.Object):

    @typing.overload
    def __init__(self): ...
    @typing.overload
    def __init__(self, other:Qt.QtXmlPatterns.QSourceLocation): ...
    @typing.overload
    def __init__(self, uri:Qt.QtCore.QUrl, line:int=..., column:int=...): ...

    def __copy__(self): ...
    def column(self) -> int: ...
    def isNull(self) -> bool: ...
    def line(self) -> int: ...
    def setColumn(self, newColumn:int): ...
    def setLine(self, newLine:int): ...
    def setUri(self, newUri:Qt.QtCore.QUrl): ...
    def uri(self) -> Qt.QtCore.QUrl: ...


class QXmlFormatter(Qt.QtXmlPatterns.QXmlSerializer):

    def __init__(self, query:Qt.QtXmlPatterns.QXmlQuery, outputDevice:Qt.QtCore.QIODevice): ...

    def atomicValue(self, value:typing.Any): ...
    def attribute(self, name:Qt.QtXmlPatterns.QXmlName, value:str): ...
    def characters(self, value:str): ...
    def comment(self, value:str): ...
    def endDocument(self): ...
    def endElement(self): ...
    def endOfSequence(self): ...
    def indentationDepth(self) -> int: ...
    def processingInstruction(self, name:Qt.QtXmlPatterns.QXmlName, value:str): ...
    def setIndentationDepth(self, depth:int): ...
    def startDocument(self): ...
    def startElement(self, name:Qt.QtXmlPatterns.QXmlName): ...
    def startOfSequence(self): ...


class QXmlItem(Shiboken.Object):

    @typing.overload
    def __init__(self): ...
    @typing.overload
    def __init__(self, atomicValue:typing.Any): ...
    @typing.overload
    def __init__(self, node:Qt.QtXmlPatterns.QXmlNodeModelIndex): ...
    @typing.overload
    def __init__(self, other:Qt.QtXmlPatterns.QXmlItem): ...

    def __copy__(self): ...
    def isAtomicValue(self) -> bool: ...
    def isNode(self) -> bool: ...
    def isNull(self) -> bool: ...
    def toAtomicValue(self) -> typing.Any: ...
    def toNodeModelIndex(self) -> Qt.QtXmlPatterns.QXmlNodeModelIndex: ...


class QXmlName(Shiboken.Object):

    @typing.overload
    def __init__(self): ...
    @typing.overload
    def __init__(self, namePool:Qt.QtXmlPatterns.QXmlNamePool, localName:str, namespaceURI:str=..., prefix:str=...): ...
    @typing.overload
    def __init__(self, other:Qt.QtXmlPatterns.QXmlName): ...

    def __copy__(self): ...
    @staticmethod
    def fromClarkName(clarkName:str, namePool:Qt.QtXmlPatterns.QXmlNamePool) -> Qt.QtXmlPatterns.QXmlName: ...
    @staticmethod
    def isNCName(candidate:str) -> bool: ...
    def isNull(self) -> bool: ...
    def localName(self, query:Qt.QtXmlPatterns.QXmlNamePool) -> str: ...
    def namespaceUri(self, query:Qt.QtXmlPatterns.QXmlNamePool) -> str: ...
    def prefix(self, query:Qt.QtXmlPatterns.QXmlNamePool) -> str: ...
    def toClarkName(self, query:Qt.QtXmlPatterns.QXmlNamePool) -> str: ...


class QXmlNamePool(Shiboken.Object):

    @typing.overload
    def __init__(self): ...
    @typing.overload
    def __init__(self, other:Qt.QtXmlPatterns.QXmlNamePool): ...

    def __copy__(self): ...


class QXmlNodeModelIndex(Shiboken.Object):
    Precedes                 : QXmlNodeModelIndex = ... # -0x1
    Is                       : QXmlNodeModelIndex = ... # 0x0
    Attribute                : QXmlNodeModelIndex = ... # 0x1
    Follows                  : QXmlNodeModelIndex = ... # 0x1
    Comment                  : QXmlNodeModelIndex = ... # 0x2
    Document                 : QXmlNodeModelIndex = ... # 0x4
    Element                  : QXmlNodeModelIndex = ... # 0x8
    Namespace                : QXmlNodeModelIndex = ... # 0x10
    ProcessingInstruction    : QXmlNodeModelIndex = ... # 0x20
    Text                     : QXmlNodeModelIndex = ... # 0x40

    class DocumentOrder(object):
        Precedes                 : QXmlNodeModelIndex.DocumentOrder = ... # -0x1
        Is                       : QXmlNodeModelIndex.DocumentOrder = ... # 0x0
        Follows                  : QXmlNodeModelIndex.DocumentOrder = ... # 0x1

    class NodeKind(object):
        Attribute                : QXmlNodeModelIndex.NodeKind = ... # 0x1
        Comment                  : QXmlNodeModelIndex.NodeKind = ... # 0x2
        Document                 : QXmlNodeModelIndex.NodeKind = ... # 0x4
        Element                  : QXmlNodeModelIndex.NodeKind = ... # 0x8
        Namespace                : QXmlNodeModelIndex.NodeKind = ... # 0x10
        ProcessingInstruction    : QXmlNodeModelIndex.NodeKind = ... # 0x20
        Text                     : QXmlNodeModelIndex.NodeKind = ... # 0x40

    @typing.overload
    def __init__(self): ...
    @typing.overload
    def __init__(self, other:Qt.QtXmlPatterns.QXmlNodeModelIndex): ...

    def __copy__(self): ...
    def additionalData(self) -> int: ...
    def data(self) -> int: ...
    def internalPointer(self) -> int: ...
    def isNull(self) -> bool: ...
    def model(self) -> Qt.QtXmlPatterns.QAbstractXmlNodeModel: ...


class QXmlQuery(Shiboken.Object):
    XQuery10                 : QXmlQuery = ... # 0x1
    XSLT20                   : QXmlQuery = ... # 0x2
    XmlSchema11IdentityConstraintSelector: QXmlQuery = ... # 0x400
    XmlSchema11IdentityConstraintField: QXmlQuery = ... # 0x800
    XPath20                  : QXmlQuery = ... # 0x1000

    class QueryLanguage(object):
        XQuery10                 : QXmlQuery.QueryLanguage = ... # 0x1
        XSLT20                   : QXmlQuery.QueryLanguage = ... # 0x2
        XmlSchema11IdentityConstraintSelector: QXmlQuery.QueryLanguage = ... # 0x400
        XmlSchema11IdentityConstraintField: QXmlQuery.QueryLanguage = ... # 0x800
        XPath20                  : QXmlQuery.QueryLanguage = ... # 0x1000

    @typing.overload
    def __init__(self): ...
    @typing.overload
    def __init__(self, np:Qt.QtXmlPatterns.QXmlNamePool): ...
    @typing.overload
    def __init__(self, other:Qt.QtXmlPatterns.QXmlQuery): ...
    @typing.overload
    def __init__(self, queryLanguage:Qt.QtXmlPatterns.QXmlQuery.QueryLanguage, np:Qt.QtXmlPatterns.QXmlNamePool=...): ...

    def __copy__(self): ...
    @typing.overload
    def bindVariable(self, localName:str, arg__2:Qt.QtCore.QIODevice): ...
    @typing.overload
    def bindVariable(self, localName:str, query:Qt.QtXmlPatterns.QXmlQuery): ...
    @typing.overload
    def bindVariable(self, localName:str, value:Qt.QtXmlPatterns.QXmlItem): ...
    @typing.overload
    def bindVariable(self, name:Qt.QtXmlPatterns.QXmlName, arg__2:Qt.QtCore.QIODevice): ...
    @typing.overload
    def bindVariable(self, name:Qt.QtXmlPatterns.QXmlName, query:Qt.QtXmlPatterns.QXmlQuery): ...
    @typing.overload
    def bindVariable(self, name:Qt.QtXmlPatterns.QXmlName, value:Qt.QtXmlPatterns.QXmlItem): ...
    @typing.overload
    def evaluateTo(self, callback:Qt.QtXmlPatterns.QAbstractXmlReceiver) -> bool: ...
    @typing.overload
    def evaluateTo(self, result:Qt.QtXmlPatterns.QXmlResultItems): ...
    @typing.overload
    def evaluateTo(self, target:Qt.QtCore.QIODevice) -> bool: ...
    def initialTemplateName(self) -> Qt.QtXmlPatterns.QXmlName: ...
    def isValid(self) -> bool: ...
    def messageHandler(self) -> Qt.QtXmlPatterns.QAbstractMessageHandler: ...
    def namePool(self) -> Qt.QtXmlPatterns.QXmlNamePool: ...
    def queryLanguage(self) -> Qt.QtXmlPatterns.QXmlQuery.QueryLanguage: ...
    @typing.overload
    def setFocus(self, document:Qt.QtCore.QIODevice) -> bool: ...
    @typing.overload
    def setFocus(self, documentURI:Qt.QtCore.QUrl) -> bool: ...
    @typing.overload
    def setFocus(self, focus:str) -> bool: ...
    @typing.overload
    def setFocus(self, item:Qt.QtXmlPatterns.QXmlItem): ...
    @typing.overload
    def setInitialTemplateName(self, name:Qt.QtXmlPatterns.QXmlName): ...
    @typing.overload
    def setInitialTemplateName(self, name:str): ...
    def setMessageHandler(self, messageHandler:Qt.QtXmlPatterns.QAbstractMessageHandler): ...
    @typing.overload
    def setQuery(self, queryURI:Qt.QtCore.QUrl, baseURI:Qt.QtCore.QUrl=...): ...
    @typing.overload
    def setQuery(self, sourceCode:Qt.QtCore.QIODevice, documentURI:Qt.QtCore.QUrl=...): ...
    @typing.overload
    def setQuery(self, sourceCode:str, documentURI:Qt.QtCore.QUrl=...): ...
    def setUriResolver(self, resolver:Qt.QtXmlPatterns.QAbstractUriResolver): ...
    def uriResolver(self) -> Qt.QtXmlPatterns.QAbstractUriResolver: ...


class QXmlResultItems(Shiboken.Object):

    def __init__(self): ...

    def current(self) -> Qt.QtXmlPatterns.QXmlItem: ...
    def hasError(self) -> bool: ...
    def next(self) -> Qt.QtXmlPatterns.QXmlItem: ...


class QXmlSchema(Shiboken.Object):

    @typing.overload
    def __init__(self): ...
    @typing.overload
    def __init__(self, other:Qt.QtXmlPatterns.QXmlSchema): ...

    def documentUri(self) -> Qt.QtCore.QUrl: ...
    def isValid(self) -> bool: ...
    @typing.overload
    def load(self, data:Qt.QtCore.QByteArray, documentUri:Qt.QtCore.QUrl=...) -> bool: ...
    @typing.overload
    def load(self, source:Qt.QtCore.QIODevice, documentUri:Qt.QtCore.QUrl=...) -> bool: ...
    @typing.overload
    def load(self, source:Qt.QtCore.QUrl) -> bool: ...
    def messageHandler(self) -> Qt.QtXmlPatterns.QAbstractMessageHandler: ...
    def namePool(self) -> Qt.QtXmlPatterns.QXmlNamePool: ...
    def setMessageHandler(self, handler:Qt.QtXmlPatterns.QAbstractMessageHandler): ...
    def setUriResolver(self, resolver:Qt.QtXmlPatterns.QAbstractUriResolver): ...
    def uriResolver(self) -> Qt.QtXmlPatterns.QAbstractUriResolver: ...


class QXmlSchemaValidator(Shiboken.Object):

    @typing.overload
    def __init__(self): ...
    @typing.overload
    def __init__(self, schema:Qt.QtXmlPatterns.QXmlSchema): ...

    def messageHandler(self) -> Qt.QtXmlPatterns.QAbstractMessageHandler: ...
    def namePool(self) -> Qt.QtXmlPatterns.QXmlNamePool: ...
    def schema(self) -> Qt.QtXmlPatterns.QXmlSchema: ...
    def setMessageHandler(self, handler:Qt.QtXmlPatterns.QAbstractMessageHandler): ...
    def setSchema(self, schema:Qt.QtXmlPatterns.QXmlSchema): ...
    def setUriResolver(self, resolver:Qt.QtXmlPatterns.QAbstractUriResolver): ...
    def uriResolver(self) -> Qt.QtXmlPatterns.QAbstractUriResolver: ...
    @typing.overload
    def validate(self, data:Qt.QtCore.QByteArray, documentUri:Qt.QtCore.QUrl=...) -> bool: ...
    @typing.overload
    def validate(self, source:Qt.QtCore.QIODevice, documentUri:Qt.QtCore.QUrl=...) -> bool: ...
    @typing.overload
    def validate(self, source:Qt.QtCore.QUrl) -> bool: ...


class QXmlSerializer(Qt.QtXmlPatterns.QAbstractXmlReceiver):

    def __init__(self, query:Qt.QtXmlPatterns.QXmlQuery, outputDevice:Qt.QtCore.QIODevice): ...

    def atomicValue(self, value:typing.Any): ...
    def attribute(self, name:Qt.QtXmlPatterns.QXmlName, value:str): ...
    def characters(self, value:str): ...
    def codec(self) -> Qt.QtCore.QTextCodec: ...
    def comment(self, value:str): ...
    def endDocument(self): ...
    def endElement(self): ...
    def endOfSequence(self): ...
    def namespaceBinding(self, nb:Qt.QtXmlPatterns.QXmlName): ...
    def outputDevice(self) -> Qt.QtCore.QIODevice: ...
    def processingInstruction(self, name:Qt.QtXmlPatterns.QXmlName, value:str): ...
    def setCodec(self, codec:Qt.QtCore.QTextCodec): ...
    def startDocument(self): ...
    def startElement(self, name:Qt.QtXmlPatterns.QXmlName): ...
    def startOfSequence(self): ...

# eof
